﻿#include <cstdio>
#include <iostream>
using namespace std;
int main()
{
	printf("Hello World\n");
	return 0;
}
int main()
{
	printf("Hello\nWorld\n");
	printf("Hello\n");
	printf("World\n");
	return 0;
}
int main()
{
	printf("There are %d apples\n", 3);
	return 0;
}
int main()
{
	printf("%s will come tonight\n", "zhangsan");
	return 0;
}
int main()
{
	printf("%-5d\n", 123); // 输出为 "123  "
	return 0;
}
int main()
{
	printf("%6.2f\n", 0.5);
	return 0;
}
int main()
{
	printf("%*.*f\n", 6, 2, 0.5);
	return 0;
}
int main()
{
	int i = 0;
	scanf("%d", &i);
	printf("%d\n", i);
	return 0;
}
int main() {
	int a, b, c, d;
	scanf("%d%d%d%d", &a, &b, &c, &d);
	printf("%d %d %d %d\n", a, b, c, d);
	return 0;
}

int main()
{
	int i = 0;
	int j = 0;
	float x = 0;
	float y = 0;
	scanf("%d%d%f%f", &i, &j, &x, &y);
	printf("i = %d\n", i);
	printf("j = %d\n", j);
	printf("x = %f\n", x);
	printf("y = %f\n", y);
	return 0;
}
int main()
{
	int x = 0;
	float y = 0;
	// ⽤⼾输⼊ "    -13.45e12# 0"
	scanf("%d", &x);
	printf("%d\n", x);
	scanf("%f", &y);
	printf("%f\n", y);
	return 0;
}
int main()
{
	char ch = 0;
	scanf("%c", &ch);
	printf("--%c--\n", ch);
	return 0;
}
int main()
{
	char ch = 0;
	scanf(" %c", &ch);//%c前⾯的空格会让scanf强制跳过空⽩字符，去读取⾮空⽩字符
	printf("--%c--\n", ch);
	return 0;
}
int main()
{
	int a;
	char ch;
	scanf("%d%c", &a, &ch);
	printf("%d %c\n", a, ch);
	return 0;
}
int main()
{
	int a;
	char ch;
	scanf("%d %c", &a, &ch);//%c的前⾯加上空格，是强制跳过数据输⼊中的空⽩字符
	printf("%d %c\n", a, ch);
	return 0;
}
int main()
{
	int a = 0;
	int b = 0;
	float f = 0.0f;
	int r = scanf("%d %d %f", &a, &b, &f);
	printf("a=%d b=%d f=%f\n", a, b, f);
	printf("r = %d\n", r);
	return 0;
}
int main()
{
	int ch = 0;
	ch = getchar();
	putchar(ch);
	return 0;
}
int main()
{
	printf("Hello World");
	return 0;
}
//int main()
//{
//	int ch;
//	ch = getchar();
//	cout << ch << endl;
//	return 0;
//}